package com.lyc.dao;

import com.lyc.pojo.Cart;
import com.lyc.pojo.Goods;

import java.util.List;

public interface GouDao {
    public List<Cart> select(int uid);

    public void updateone(int num, int scid);

    public List<Goods> getAllGoodsByUid(int uid);

    public Cart selectGoods(int gid, int uid);

    public void addGoods(Cart cart);

    public int removeByScid(int scid);


    /*后台*/
    public List<Cart> selectAll();
}
